package com.xinchao.job.mapper.dmp;

import org.apache.ibatis.annotations.Param;

import com.xinchao.common.model.WarnLog;

public interface DeviceWarnLogMapper  {
	
	/**
	 * 添加提醒日志
	 * @param warnLog
	 * @return
	 */
	public int insertWarnLog(WarnLog warnLog) ;
	
	/**
	 *  短信发送结果回调，发送成功改写数据库发送状态字段
	 * @param warnLog
	 * @return
	 */
	public int updateWarnlogWhenSmsSendSuccess(@Param("smsMsgId") String smsMsgId) ;
	
}
